luci-app-package-manager: fix 'autoremove' checkbox uneditable
authorLiangbin Lian <[email protected]>
Thu, 26 Jun 2025 09:09:01 +0000 (17:09 +0800)
committerPaul Donald <[email protected]>
Sun, 29 Jun 2025 17:37:18 +0000 (19:37 +0200)
commit8b5dfabdf3b4f929ea5e4bbd9350e930c10e8ad3
treec689c602a0d174a58299e87c7ebfe0b59a83fd5d
parentf458c39c74fb97b0b97bae73572d4abbe169115b
luci-app-package-manager: fix 'autoremove' checkbox uneditable

In HTML, the following lines of code are equivalent:
```
<input disabled />
<input disabled="true" />
<input disabled="false" />
<input disabled="any" />
```
If you want to cancel the 'disabled' flag, you must completely remove it from the HTML instead of assigning a value.

Signed-off-by: Liangbin Lian <[email protected]>
applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js